package main.java;

public class Color {
	private String nombre;

	public Color(String nom) {
		nombre = nom;
	}

	public void setNombre(String nombre) {
		this.nombre = nombre;
	}

	public String getNombre() {
		return nombre;
	}
	public String toString(){
		return nombre;
	}
	/**
	 * @uml.property  name="player"
	 * @uml.associationEnd  inverse="color1:Automobile.Player"
	 */
	private Player player;

	/**
	 * Getter of the property <tt>player</tt>
	 * @return  Returns the player.
	 * @uml.property  name="player"
	 */
	public Player getPlayer() {
		return player;
	}

	/**
	 * Setter of the property <tt>player</tt>
	 * @param player  The player to set.
	 * @uml.property  name="player"
	 */
	public void setPlayer(Player player) {
		this.player = player;
	}

}
